<?php
require_once 'client'.EXT;

class Home extends Client{

	function __construct()
	{
		parent::__construct();
	}
	
	function index()
	{
		$this->load->model('admin/user_model');
		$this->data['tpl_file']		=	'home/index';
		$this->load->view('layout/default', $this->data);
		redirect(base_url().'customer/');
	}
	
	function data_form()
	{
		$this->data['current']		=	"data_form";
		$this->data['tpl_file']		=	"home/data_form";
		$this->load->view('layout/default', $this->data);
	}
}